Optimization of Cache Oblivious Lattice Boltzmann Method in 2D and 3D
نویسندگان
چکیده
The Lattice Boltzmann Method (LBM) is one of the modern techniques to simulate fluids. A lot of work has already been done to speed up the LBM on cache-based microprocessor architecture. In order to achieve high performance on these architectures, not only the clock rate of the processor plays an important role, but also the significant influence of the caches have to be taken into account. A common method to exploit spatial and temporal data locality by reusing the cache is blocking (a cache aware algorithm). In this paper, a “ Cache Oblivious Lattice Boltzmann Algorithm (COLBA) ” and its optimization techniques are presented. Therefore Frigo’s stencil based cache oblivious algorithm [FS05] has been coupled to the LBM. Main aim of this work has been the comparison of cache aware/blocked LBM and COLBA on different architectures. The results of the COLBA have shown equivalent performance to the fastest LBM implementations available at the Regional Computing Center at Erlangen (RRZE) [Don04] also less cache misses and less buss access than the iterative LBM implementation.
منابع مشابه
Evaluation of two lattice Boltzmann methods for fluid flow simulation in a stirred tank
In the present study, commonly used weakly compressible lattice Boltzmann method and Guo incompressible lattice Boltzmann method have been used to simulate fluid flow in a stirred tank. For this purpose a 3D Parallel code has been developed in the framework of the lattice Boltzmann method. This program has been used for simulation of flow at different geometries such as 2D channel fluid flow an...
متن کاملGas-liquid Relative Permeability Estimation in 2D Porous Media by Lattice Boltzmann Method: Low Viscosity Ratio 2D LBM Relative Permeability
This work is a primary achievement in studying the CO2 and N2–oil systems. To predict gas-liquid relative permeability curves, a Shan-Chen type multicomponent multiphase lattice Boltzmann model for two-phase flow through 2D porous media is developed. Periodic and bounce back boundary conditions are applied to the model with the Guo scheme for the external body force (i.e.,...
متن کاملPerformance comparison of different parallel lattice Boltzmann implementations on multi-core multi-socket systems
In this report, we discuss the performance behaviour of different parallel lattice Boltzmann implementations. In previous works, we already proposed a fast serial implementation and a cache oblivious spatial and temporal blocking algorithm for the lattice Boltzmann method (LBM) in three spatial dimensions. The cache oblivious update scheme has originally been proposed by Frigo et al. The main i...
متن کاملUsing the Lattice Boltzmann Method for the numerical study of non-fourier conduction with variable thermal conductivity
The lattice Boltzmann method (LBM) was used to analyze two-dimensional (2D) non-Fourier heat conduction with temperature-dependent thermal conductivity. To this end, the evolution of wave-like temperature distributions in a 2D plate was obtained. The temperature distributions along certain parts of the plate, which was subjected to heat generation and constant thermal conductivity condit...
متن کاملA Simplified Curved Boundary Condition in Stationary/Moving Boundaries for the Lattice Boltzmann Method
Lattice Boltzmann method is one of computational fluid dynamic subdivisions. Despite complicated mathematics involved in its background, end simple relations dominate on it; so in comparison to the conventional computational fluid dynamic methods, simpler computer programs are needed. Due to its characteristics for parallel programming, this method is considered efficient for the simulation of ...
متن کامل